Skip to content

Conversation

Jackenmen
Copy link

Fixes #951

Done by tracking enclosure count when inside a function param list (detected by def keyword) and checking whether the previous token's text is , to be sure that the currently checked token can be evaluated in a param name context.

@Jackenmen Jackenmen force-pushed the w503_504_positional_only branch from 5d353e0 to f67b7ba Compare January 5, 2023 10:21
@Jackenmen
Copy link
Author

Conflict in testsuite/python38.py resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

W504: positional only / keyword only argument marker at end of long line
1 participant